package org.apache.catalina.jv.test;

import org.apache.catalina.Lifecycle;
import org.apache.catalina.LifecycleEvent;
import org.apache.catalina.LifecycleListener;

public class MyLifecycleListener implements LifecycleListener {
    @Override
    public void lifecycleEvent(LifecycleEvent event) {
        if(event.getType().equals(Lifecycle.BEFORE_INIT_EVENT)){
            System.out.println("####################MyLifecycleListener output:"+Lifecycle.BEFORE_INIT_EVENT);
        }
    }
}
